package com.cygsunri.parkingsuff;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/*扫描所有模块com.cygsunri下的类*/
@ComponentScan(basePackages = {"com.cygsunri"})
@SpringBootApplication
@EnableDiscoveryClient  //添加Nacos客户端注解
@EnableFeignClients(basePackages = "com.cygsunri.parkingsuff.feign") //在调用端的启动类添加服务调用注解
public class ParkingSuffApplication {

    public static void main(String[] args) {
        SpringApplication.run(ParkingSuffApplication.class, args);
    }

}
